home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Libraries / BSDVBLLib 1.0 / BSDVBLLib.doc < prev    next >
Encoding:
Text File  |  1997-08-03  |  1.0 KB  |  42 lines  |  [TEXT/CWIE]

  1. BSDVBLLib v1.0
  2. BuggySoft™ Development
  3. By Scott Dunbar.
  4. © 1997.
  5.  
  6. email    : buggysft@aimnet.com
  7. web        : http://www.aimnet.com/~buggysft/
  8. ftp        : ftp://ftp.aimnet.com/pub/users/buggysft/
  9.  
  10. BSDVBLLib is a CodeWarrior 11 library that makes using VBL tasks a lot easier to do. The only
  11. reason that I made this is because before I knew where to look, I had a hell of a time trying
  12. to use VBL tasks...so I threw this together to help out those who are just getting started in
  13. programming.
  14.  
  15.  
  16. Here's an example of the correct use:
  17.  
  18. {
  19.         // Init the library and install the VBL task
  20.     InitVBLLib();
  21.     
  22.     while (!Button()) 
  23.             // the VBL task calls for an update, draw something
  24.         if (vblUpdate) DrawSomethingToTheScreen();
  25.     
  26.         // Dispose of the library and remove the VBL task
  27.     DisposeVBLLib();
  28. }
  29.  
  30. Notes
  31.     The VBL task installed is a Slot-VBL task.
  32.     This library is only PPC right now.
  33.  
  34. For a working example of the library in use, check in the 'BSD VBL Example' folder 
  35. contained in this archive.
  36.  
  37. E-mail me for updates at:
  38.     buggysft@aimnet.com
  39.  
  40.  
  41. Thanks!
  42.     - Scott Dunbar